package com.my.design.structural.proxy.JdkProxy.testjdk;

import java.util.*;

public class Car implements Moveable {
	@Override
	public String move() {
		try {
			Thread.sleep(new Random().nextInt(1000));
			System.out.println("汽车行驶中....");
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return "success";
	}
}